#/bin/sh

echo '执行初始化脚本'

# sudo yum install -y yum upgrade
# sudo yum install -y net-tools
# sudo yum install -y git vim gcc glibc-static telnet 
# sudo yum install -y bridge-utils net-tools libvirt-devel curl
# sudo yum install -y wget

# #第三方源
# yum -y install epel-release
# yum -y update


# #安装docker
# sudo yum install docker-ce-18.03.0.ce
# sudo systemctl enable docker 
# sudo systemctl start docker
# install docker
# sudo -i

#mkdir -p /usr/local/share/applications
#cd /usr/local/share/applications
#curl -fsSL https://get.docker.com/gpg -o gpg
#rpmkeys --import ./gpg
#curl -fsSL https://get.docker.com -o get-docker.sh
#sh ./get-docker.sh
#
# start docker service
##新增用户组
#groupadd docker
##追加用户权限
#usermod -aG docker vagrant
# systemctl start docker
# rm -rf ./get-docker.sh
